<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Return the instance number associated with the Path</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.iis-get-server-by-comment.html">iis_get_server_by_comment</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.iis-get-server-rights.html">iis_get_server_rights</a></div>
 <div class="up"><a href="ref.iisfunc.html">IIS 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.iis-get-server-by-path" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">iis_get_server_by_path</h1>
  <p class="verinfo">(PECL iisfunc SVN)</p><p class="refpurpose"><span class="refname">iis_get_server_by_path</span> &mdash; <span class="dc-title">Return the instance number associated with the Path</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.iis-get-server-by-path-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>iis_get_server_by_path</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$path</code></span>
   )</div>

  <p class="para rdfs-comment">
   Each virtual server in IIS is associated with an instance number.
   <span class="function"><strong>iis_get_server_by_path()</strong></span> finds the instance number
   from the actual path to the root directory.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.iis-get-server-by-path-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">path</code></em></dt>

     <dd>

      <p class="para">
       The path to the root directory
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.iis-get-server-by-path-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the server instance number.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.iis-get-server-by-comment.html">iis_get_server_by_comment</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.iis-get-server-rights.html">iis_get_server_rights</a></div>
 <div class="up"><a href="ref.iisfunc.html">IIS 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
